const glob = require('glob');

// let result = null;
// console.time('glob');
// result = glob.sync(__dirname + '**/*');
// console.timeEnd('glob');

// console.log(result)


let result = null;
console.time();
glob(__dirname + '**/*', (err, res) => {
    result = res;
    console.log(result, 'glob callback')
});
console.timeEnd();
console.log(`test: ${1 + 1}`);
